﻿using System.Windows;

namespace OpenLS.Spreadsheet.UI.Internals
{
    public class AdditionalTags : DependencyObject
    {


        public static object GetInheritedTag(DependencyObject obj)
        {
            return (object)obj.GetValue(InheritedTagProperty);
        }

        public static void SetInheritedTag(DependencyObject obj, object value)
        {
            obj.SetValue(InheritedTagProperty, value);
        }

        // Using a DependencyProperty as the backing store for MyProperty.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty InheritedTagProperty =
            DependencyProperty.RegisterAttached("InheritedTag", typeof(object), typeof(AdditionalTags),
            new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.Inherits));

        

        public static object GetTag1(DependencyObject obj)
        {
            return (object)obj.GetValue(Tag1Property);
        }

        public static void SetTag1(DependencyObject obj, object value)
        {
            obj.SetValue(Tag1Property, value);
        }

        // Using a DependencyProperty as the backing store for MyProperty.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty Tag1Property =
            DependencyProperty.RegisterAttached("Tag1", typeof(object), typeof(AdditionalTags), new UIPropertyMetadata(null));





        public static object GetTag2(DependencyObject obj)
        {
            return (object)obj.GetValue(Tag2Property);
        }

        public static void SetTag2(DependencyObject obj, object value)
        {
            obj.SetValue(Tag2Property, value);
        }

        // Using a DependencyProperty as the backing store for Tag2.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty Tag2Property =
            DependencyProperty.RegisterAttached("Tag2", typeof(object), typeof(AdditionalTags), new UIPropertyMetadata(null));



    }
}